<?php
abstract class ccdsBackendUserPlugin
    extends ccdsBackendPlugin
{
    public $class_id;
    public $ext_path;

    function __construct( $class_id, $ext_path )
    {
			parent::__construct( $class_id, $ext_path );
			
			$this->class_id=$class_id;
			$this->ext_path=$ext_path;
			$this->xajax=ccdsXajax::getInstance();
			$this->smarty->assign( 'ccdsclass_id', $class_id );
			
			
			
			$this->labels=$this->smarty->get_config_vars();
			$this->tpl_dir = $this->config->get('DOC_ROOT').$this->config->get('WEB_ROOT').$this->config->get('CMS_ROOT').'modules/'.$this->name.'/tpl/';
			$this->smarty->assign($this->name.'_DIR',$this->tpl_dir);


    }
    
    abstract function install();
}
?>